﻿using Swimj.CommonLib.Attributes;

namespace DataServer.CommonLib.Models.DataSource
{
    public class DataSourceInfoResponseDto
    {
        public Guid Key { get; set; }

        [TableColumn(DisplayText = "数据源编码")]
        public string? SourceCode { get; set; }

        [TableColumn(DisplayText = "数据源名称")]
        public string? SourceName { get; set; }

        public Guid? DatabaseId { get; set; }

        [TableColumn(DisplayText = "所属数据库")]
        public string? DatabaseName { get; set; }

        public string? DatabaseObjectType { get; set; }

        public string? DatabaseObject { get; set; }

        public string? DynamicSearchText { get; set; }

        public int Sort { get; set; }

        public string? Description { get; set; }
    }
}